{template "header.html"}
<div class="note note-danger">
    <p><a href="javascript:dr_update_cache();">{dr_lang('更改数据之后需要更新缓存之后才能生效')}</a></p>
</div>
<form action="" class="form-horizontal" method="post" name="myform" id="myform">
	{$form}
	<div class="portlet bordered light ">
	    <div class="portlet-title tabbable-line">
	        <ul class="nav nav-tabs" style="float:left;">
	            <li class="{if $page==0}active{/if}">
	                <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('圈子模式')} </a>
	            </li>
	        </ul>
	    </div>
	    <div class="portlet-body">
	        <div class="tab-content">
	            <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
	                <div class="form-body">
						<div class="form-body">
							<div class="form-group">
							    <label class="col-md-2 control-label">圈子模式</label>
							    <div class="col-md-9">
							        <div class="mt-radio-inline">
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_moshi]" value="0" {if $data['quan_moshi']==0}checked{/if} /> {dr_lang('多圈 模式')} <span></span></label>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_moshi]" value="1" {if $data['quan_moshi'] ==1}checked{/if} /> {dr_lang('单圈 模式')} <span></span></label>
							            <!--label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_mianze_moshi]" value="2" {if $data['quan_mianze_moshi'] ==2}checked{/if} /> {dr_lang('按照独立-圈子')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_mianze_moshi]" value="4" {if $data['quan_mianze_moshi'] ==4}checked{/if} /> {dr_lang('按照独立-帖子')} <span></span></label-->
									</div>
							        <span class="help-block">{dr_lang('多圈模式可以创建无数个圈子，单圈只能创建一个圈子。并且圈子为系统默认的创建的圈子，不能删除。')}</span>
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-md-2 control-label">{dr_lang('单圈圈子ID')}</label>
							    <div class="col-md-9">
							        <!--input type="checkbox" name="data[quan_baifen]" value="1" {if $data['quan_baifen']}checked{/if} data-on-text="{dr_lang('开启')}" data-off-text="{dr_lang('关闭')}" data-on-color="success" data-off-color="danger" class="make-switch" data-size="small"-->
									<input class="form-control input-xlarge" type="text" name="data[quan_id]" value="{$data['quan_id']}" >
									<span class="help-block">填写默认单圈圈子的id</span>
							    </div>
							</div>
						    
							<div class="form-group">
							    <label class="col-md-2 control-label">海报开关</label>
							    <div class="col-md-9">
							        <div class="mt-radio-inline">
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_haibao]" value="0" {if $data['quan_haibao']==0}checked{/if} /> {dr_lang('开启')} <span></span></label>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_haibao]" value="1" {if $data['quan_haibao'] ==1}checked{/if} /> {dr_lang('关闭')} <span></span></label>
									</div>
							        <span class="help-block">{dr_lang('这个是控制单圈的海报开关。')}</span>
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-md-2 control-label">快速发布开关</label>
							    <div class="col-md-9">
							        <div class="mt-radio-inline">
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_fabu]" value="0" {if $data['quan_fabu']==0}checked{/if} /> {dr_lang('开启')} <span></span></label>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_fabu]" value="1" {if $data['quan_fabu'] ==1}checked{/if} /> {dr_lang('关闭')} <span></span></label>
							            
									</div>
							        <span class="help-block">{dr_lang('这个是控制单圈的快速发布开关。')}</span>
							    </div>
							</div>
						</div>
	                </div>
	            </div>
	        </div>
	    </div>
	</div>
	<div class="portlet bordered light ">
	    <div class="portlet-title tabbable-line">
	        <ul class="nav nav-tabs" style="float:left;">
	            <li class="{if $page==0}active{/if}">
	                <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('快速问答')} </a>
	            </li>
	        </ul>
	    </div>
	    <div class="portlet-body">
	        <div class="tab-content">
	            <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
	                <div class="form-body">
						<div class="form-body">
							<div class="form-group">
							    <label class="col-md-2 control-label">快速模式开启</label>
							    <div class="col-md-9">
							        <div class="mt-radio-inline">
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[kuaisu_wenda]" value="0" {if $data['kuaisu_wenda']==0}checked{/if} /> {dr_lang('关闭')} <span></span></label>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[kuaisu_wenda]" value="1" {if $data['kuaisu_wenda'] ==1}checked{/if} /> {dr_lang('开启')} <span></span></label>
							        </div>
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-md-2 control-label">{dr_lang('问答圈子ID')}</label>
							    <div class="col-md-9">
							        <input class="form-control input-xlarge" type="text" name="data[kuaisu_wenda_id]" value="{$data['kuaisu_wenda_id']}" >
									<span class="help-block">填写问答圈子的id</span>
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-md-2 control-label">{dr_lang('问答圈子名称')}</label>
							    <div class="col-md-9">
							        <input class="form-control input-xlarge" type="text" name="data[kuaisu_wenda_name]" value="{$data['kuaisu_wenda_name']}" >
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-md-2 control-label">{dr_lang('问答圈子简介')}</label>
							    <div class="col-md-9">
							        <input class="form-control input-xlarge" type="text" name="data[kuaisu_wenda_jianjie]" value="{$data['kuaisu_wenda_jianjie']}" >
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-md-2 control-label">{dr_lang('按钮名称')}</label>
							    <div class="col-md-9">
							        <input class="form-control input-xlarge" type="text" name="data[kuaisu_wenda_ming]" value="{$data['kuaisu_wenda_ming']}" >
							    </div>
							</div>
						</div>
	                </div>
	            </div>
	        </div>
	    </div>
	</div>
	<div class="portlet bordered light ">
	    <div class="portlet-title tabbable-line">
	        <ul class="nav nav-tabs" style="float:left;">
	            <li class="{if $page==0}active{/if}">
	                <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('发布帖子名称设置')} </a>
	            </li>
	        </ul>
	    </div>
	    <div class="portlet-body">
	        <div class="tab-content">
	            <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
	                <div class="form-body">
						<div class="form-body">
							<div class="form-group">
							    <label class="col-md-2 control-label">发帖子图标</label>
							    <div class="col-md-9">
									<?php echo dr_fieldform('{"name":"发帖子图标","fieldname":"quantiezitu","ismain":"1","fieldtype":"File","setting":{"option":{"fieldtype":"","fieldlength":"","input":"1","ext":"jpg,gif,png","size":"10","attachment":"0","image_reduce":"","is_ext_tips":"0","css":""},"validate":{"required":"0","pattern":"","errortips":"","check":"","filter":"","formattr":"","tips":""}}}', $data['quantiezitu'], 1, 1);?>
									<div class="mt-radio-inline">
							            <input class="form-control input-xlarge" type="text" name="data[quan_tiezi]" value="{$data['quan_tiezi']}" >
									</div>
							     <span class="help-block">{dr_lang('默认名称是发帖子')}</span>
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-md-2 control-label">发文章图标</label>
							    <div class="col-md-9">
									<?php echo dr_fieldform('{"name":"发文章图标","fieldname":"quanwenzhangtu","ismain":"1","fieldtype":"File","setting":{"option":{"fieldtype":"","fieldlength":"","input":"1","ext":"jpg,gif,png","size":"10","attachment":"0","image_reduce":"","is_ext_tips":"0","css":""},"validate":{"required":"0","pattern":"","errortips":"","check":"","filter":"","formattr":"","tips":""}}}', $data['quanwenzhangtu'], 1, 1);?>
									
							        <div class="mt-radio-inline">
							            <input class="form-control input-xlarge" type="text" name="data[quan_wenzhang]" value="{$data['quan_wenzhang']}" >
									</div>
							     <span class="help-block">{dr_lang('默认名称是发文章')}</span>
							    </div>
							</div>
						</div>
	                </div>
	            </div>
	        </div>
	    </div>
	</div>
	<div class="portlet bordered light ">
	    <div class="portlet-title tabbable-line">
	        <ul class="nav nav-tabs" style="float:left;">
	            <li class="{if $page==0}active{/if}">
	                <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('帖子浏览方式')} </a>
	            </li>
	        </ul>
	    </div>
	    <div class="portlet-body">
	        <div class="tab-content">
	            <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
	                <div class="form-body">
						
							<div class="form-group">
							    <label class="col-md-2 control-label">帖子浏览方式</label>
							    <div class="col-md-9">
							        <div class="mt-radio-inline">
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_liulan]" value="0" {if $data['quan_liulan']==0}checked{/if} /> {dr_lang('弹出方式')} <span></span></label>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_liulan]" value="1" {if $data['quan_liulan'] ==1}checked{/if} /> {dr_lang('跳转进入到页面')} <span></span></label>
									</div>
							     <span class="help-block">{dr_lang('弹出方式体验会更加合理。节省用户不断点击返回按钮的时间')}</span>
							    </div>
							</div>
							
						
	                </div>
					<div class="tab-pane {if $page==0}active{/if}" id="tab_0">
						<div class="form-body">
							
								<div class="form-group">
									<label class="col-md-2 control-label">列表帖子内容空两格</label>
									<div class="col-md-9">
										<div class="mt-radio-inline">
											<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_kongge]" value="0" {if $data['quan_kongge']==0}checked{/if} /> {dr_lang('不留空')} <span></span></label>
											<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_kongge]" value="1" {if $data['quan_kongge'] ==1}checked{/if} /> {dr_lang('空两格')} <span></span></label>
										</div>
									 <span class="help-block">{dr_lang('列表帖子内容前面空两格')}</span>
									</div>
								</div>
								
							
						</div>
					</div>
	            </div>
	        </div>
	    </div>
	</div>
	<div class="portlet bordered light ">
	    <div class="portlet-title tabbable-line">
	        <ul class="nav nav-tabs" style="float:left;">
	            <li class="{if $page==0}active{/if}">
	                <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('帖子列表图片')} </a>
	            </li>
	        </ul>
	    </div>
	    <div class="portlet-body">
	        <div class="tab-content">
				<div class="form-group">
					<label class="col-md-2 control-label">列表图片数量设置</label>
					<div class="col-md-9">
						<div class="mt-radio-inline">
							<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_getu]" value="0" {if $data['quan_getu']==0}checked{/if} /> {dr_lang('9格图')} <span></span></label>
							<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_getu]" value="1" {if $data['quan_getu'] ==1}checked{/if} /> {dr_lang('3格图')} <span></span></label>
						</div>
					 <span class="help-block">{dr_lang('列表帖子内容前面空两格')}</span>
					</div>
				</div>
	            <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
	                <div class="form-body">
						<div class="form-body">
							<div class="form-group">
							    <label class="col-md-2 control-label">列表图片设置</label>
							    <div class="col-md-9">
							        <div class="mt-radio-inline">
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_tupian_list]" value="0" {if $data['quan_tupian_list']==0}checked{/if} /> {dr_lang('250*250正方图：本地图片')} <span></span>
							            </label>
							            <br>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_tupian_list]" value="1" {if $data['quan_tupian_list'] ==1}checked{/if} /> {dr_lang('远程COS原图片。')} <span></span>
							            </label>
							            <br>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_tupian_list]" value="2" {if $data['quan_tupian_list'] ==2}checked{/if} /> {dr_lang('七牛云储存缩略图')} <span></span>
							            
							            </label>
							            <input class="form-control input-xlarge" type="text" name="data[quan_qiniutuhouzhui]" value="{$data['quan_qiniutuhouzhui']}" >
								        <span class="help-block">七牛云存储图片后缀 <a href="https://duixin.cc/index.php?s=quan&c=son&m=index&id=532" target="_blank">设置方法</a></span>
								        <br>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_tupian_list]" value="3" {if $data['quan_tupian_list'] ==3}checked{/if} /> {dr_lang('阿里云储存缩略图')} <span></span>
							            
							            </label>
							            <input class="form-control input-xlarge" type="text" name="data[quan_alituhouzhui]" value="{$data['quan_alituhouzhui']}" >
								        <span class="help-block">阿里云存储图片后缀 <a href="https://duixin.cc/index.php?s=quan&c=son&m=index&id=533" target="_blank">设置方法</a></span>
								        <br>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_tupian_list]" value="4" {if $data['quan_tupian_list'] ==4}checked{/if} /> {dr_lang('腾讯云储存缩略图')} <span></span>
							            
							            </label>
							            <input class="form-control input-xlarge" type="text" name="data[quan_tengxuntuhouzhui]" value="{$data['quan_tengxuntuhouzhui']}" >
								        <span class="help-block">腾讯云存储图片后缀<a href="https://duixin.cc/index.php?s=quan&c=son&m=index&id=534" target="_blank">设置方法</a></span>
									</div>
							     <span class="help-block">{dr_lang('针对列表图片设置')}</span>
							    </div>
							</div>
							
						</div>
	                </div>
	            </div>
	        </div>
	    </div>
	</div>
	<div class="portlet bordered light ">
	    <div class="portlet-title tabbable-line">
	        <ul class="nav nav-tabs" style="float:left;">
	            <li class="{if $page==0}active{/if}">
	                <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('导航设置')} </a>
	            </li>
	        </ul>
	    </div>
	    <div class="portlet-body">
	        <div class="tab-content">
	            <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
	                <div class="form-body">
						<div class="form-body">
							<div class="form-group">
							    <label class="col-md-2 control-label">首页左边导航</label>
							    <div class="col-md-9">
							        <div class="mt-radio-inline">
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_zuobian]" value="0" {if $data['quan_zuobian']==0}checked{/if} /> {dr_lang('开启')} <span></span></label>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_zuobian]" value="1" {if $data['quan_zuobian'] ==1}checked{/if} /> {dr_lang('关闭')} <span></span></label>
									</div>
							     
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-md-2 control-label">顶部显示</label>
							    <div class="col-md-9">
							        <div class="mt-radio-inline">
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_dingbu]" value="0" {if $data['quan_dingbu']==0}checked{/if} /> {dr_lang('开启')} <span></span></label>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_dingbu]" value="1" {if $data['quan_dingbu'] ==1}checked{/if} /> {dr_lang('关闭')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_dingbu]" value="2" {if $data['quan_dingbu'] ==2}checked{/if} /> {dr_lang('关闭导航显示搜索框')} <span></span></label>
									</div>
							        
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-md-2 control-label">列表左边显示</label>
							    <div class="col-md-9">
							        <div class="mt-radio-inline">
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_liebiao]" value="0" {if $data['quan_liebiao']==0}checked{/if} /> {dr_lang('开启')} <span></span></label>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_liebiao]" value="1" {if $data['quan_liebiao'] ==1}checked{/if} /> {dr_lang('关闭')} <span></span></label>
									</div>
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-md-2 control-label">导航展示方式</label>
							    <div class="col-md-9">
							        <div class="mt-radio-inline">
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_zhanshi]" value="0" {if $data['quan_zhanshi']==0}checked{/if} /> {dr_lang('展开')} <span></span></label>
							            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_zhanshi]" value="1" {if $data['quan_zhanshi'] ==1}checked{/if} /> {dr_lang('收缩')} <span></span></label>
									</div>
							    </div>
							</div>
						</div>
	                </div>
	            </div>
	        </div>
	    </div>
	</div>
    <div class="portlet bordered light">
        <div class="portlet-title tabbable-line">
            <ul class="nav nav-tabs" style="float:left;">
                <li class="{if $page==0}active{/if}">
                    <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('圈子设置')} </a>
                </li>
            </ul>
        </div>
        <div class="portlet-body">
            <div class="tab-content">
                <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
                    <div class="form-body">
                        <div class="form-group">
                            <label class="col-md-2 control-label">{dr_lang('圈子收成比例')}</label>
                            <div class="col-md-9">
                                <!--input type="checkbox" name="data[quan_baifen]" value="1" {if $data['quan_baifen']}checked{/if} data-on-text="{dr_lang('开启')}" data-off-text="{dr_lang('关闭')}" data-on-color="success" data-off-color="danger" class="make-switch" data-size="small"-->
								<input class="form-control input-xlarge" type="text" name="data[quan_shoucheng]" value="{$data['quan_shoucheng']}" >
								<span class="help-block">百分比。填写数字：10% 填写数字 0.1，20% 填写数字 0.2, 0为关闭</span>
                            </div>
                        </div>
						<div class="form-group">
						    <label class="col-md-2 control-label">{dr_lang('购买阅读收成比例')}</label>
						    <div class="col-md-9">
						        <!--input type="checkbox" name="data[quan_baifen]" value="1" {if $data['quan_baifen']}checked{/if} data-on-text="{dr_lang('开启')}" data-off-text="{dr_lang('关闭')}" data-on-color="success" data-off-color="danger" class="make-switch" data-size="small"-->
								<input class="form-control input-xlarge" type="text" name="data[quan_yuedu]" value="{$data['quan_yuedu']}" >
								<span class="help-block">百分比。填写数字：10% 填写数字 0.1，20% 填写数字 0.2, 0为关闭</span>
						    </div>
						</div>
						<div class="form-group">
						    <label class="col-md-2 control-label">{dr_lang('购买下载收成比例')}</label>
						    <div class="col-md-9">
						        <!--input type="checkbox" name="data[quan_baifen]" value="1" {if $data['quan_baifen']}checked{/if} data-on-text="{dr_lang('开启')}" data-off-text="{dr_lang('关闭')}" data-on-color="success" data-off-color="danger" class="make-switch" data-size="small"-->
								<input class="form-control input-xlarge" type="text" name="data[quan_xiazai]" value="{$data['quan_xiazai']}" >
								<span class="help-block">百分比。填写数字：10% 填写数字 0.1，20% 填写数字 0.2, 0为关闭</span>
						    </div>
						</div>
						<div class="form-group">
						    <label class="col-md-2 control-label">{dr_lang('活动收成比例')}</label>
						    <div class="col-md-9">
						        
								<input class="form-control input-xlarge" type="text" name="data[quan_huodong]" value="{$data['quan_huodong']}" >
								<span class="help-block">百分比。填写数字：10% 填写数字 0.1，20% 填写数字 0.2, 0为关闭</span>
						    </div>
						</div>
						<div class="form-group">
						    <label class="col-md-2 control-label">{dr_lang('圈子收款人ID')}</label>
						    <div class="col-md-9">
						        <!--input type="checkbox" name="data[quan_baifen]" value="1" {if $data['quan_baifen']}checked{/if} data-on-text="{dr_lang('开启')}" data-off-text="{dr_lang('关闭')}" data-on-color="success" data-off-color="danger" class="make-switch" data-size="small"-->
								<input class="form-control input-xlarge" type="text" name="data[quan_shouru]" value="{$data['quan_shouru']}" >
								<span class="help-block">默认ID为1，是站长收取。
								<a href="javascript:dr_iframe_show('code', '{dr_url('/member/home/index')}', '800px', '50%');">查看用户id</a>
								</span>
						    </div>
						</div>
                    </div>
                </div>
            </div>
        </div>
	</div>
	<div class="portlet bordered light ">
	    <div class="portlet-title tabbable-line">
	        <ul class="nav nav-tabs" style="float:left;">
	            <li class="{if $page==0}active{/if}">
	                <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('免责声明')} </a>
	            </li>
	        </ul>
	    </div>
	    <div class="portlet-body">
	        <div class="tab-content">
	            <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
	                <div class="form-body">
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">免责模式</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_mianze_moshi]" value="0" {if $data['quan_mianze_moshi']==0}checked{/if} /> {dr_lang('关闭全站')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_mianze_moshi]" value="1" {if $data['quan_mianze_moshi'] ==1}checked{/if} /> {dr_lang('全站统一')} <span></span></label>
						                <!--label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_mianze_moshi]" value="2" {if $data['quan_mianze_moshi'] ==2}checked{/if} /> {dr_lang('按照独立-圈子')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quan_mianze_moshi]" value="4" {if $data['quan_mianze_moshi'] ==4}checked{/if} /> {dr_lang('按照独立-帖子')} <span></span></label-->
									</div>
						            <span class="help-block">{dr_lang('按照独立圈子 是在圈子里面设置；按照独立帖子：是在发布的时候设置')}</span>
						        </div>
						    </div>
						</div>
	
	                    <div class="form-body">
	                        <div class="form-group">
	                            <label class="col-md-2 control-label">免责内容</label>
	                            <div class="col-md-9">
	                                <textarea class="form-control" rows="5" name="data[quan_mianze_text]">{$data.quan_mianze_text}</textarea>
	                                <span class="help-block">{dr_lang('免责内容')}</span>
	                            </div>
	                        </div>
	                    </div>
	
	                </div>
	            </div>
	        </div>
	    </div>
	</div>
	<div class="portlet bordered light myfbody">
		<div class="portlet-title tabbable-line">
		    <ul class="nav nav-tabs" style="float:left;">
		        <li class="{if $page==0}active{/if}">
		            <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('发布开关【控制用户前端】')} </a>
		        </li>
		    </ul>
		</div>
		<div class="portlet-body">
		    <div class="tab-content">
		        <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
		            <div class="form-body">
						<div class="form-body">
							<label class="col-md-2 control-label">开关说明</label>
							<div class="col-md-9">
							<span class="help-block" style="color: #d50000;">{dr_lang('1.关闭全站所有的发布入口，圈主也不能发布、2.由圈主定义帖子发布 管理员是可以发布的')}</span>
						    </div>
							<div class="form-group">
						        <label class="col-md-2 control-label">帖子发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_fatie]" value="0" {if $data['quantie_fatie']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_fatie]" value="1" {if $data['quantie_fatie'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_fatie]" value="2" {if $data['quantie_fatie'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_fatie]" value="3" {if $data['quantie_fatie'] ==3}checked{/if} /> {dr_lang('只限管理员和圈主发布')} <span></span></label>

									</div>
						            
						        </div>
						    </div>
						</div>
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">【九格图】发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_jiugetu]" value="0" {if $data['quantie_jiugetu']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_jiugetu]" value="1" {if $data['quantie_jiugetu'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_jiugetu]" value="2" {if $data['quantie_jiugetu'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_jiugetu]" value="3" {if $data['quantie_jiugetu'] ==3}checked{/if} /> {dr_lang('只限管理员和所有圈主发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_jiugetu]" value="4" {if $data['quantie_jiugetu'] ==4}checked{/if} /> {dr_lang('只限管理员和圈子定义帖子发布')} <span></span></label>

									</div>
						        </div>
						    </div>
						</div>
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">【语音】发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_yuyin]" value="0" {if $data['quantie_yuyin']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_yuyin]" value="1" {if $data['quantie_yuyin'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_yuyin]" value="2" {if $data['quantie_yuyin'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_yuyin]" value="3" {if $data['quantie_yuyin'] ==3}checked{/if} /> {dr_lang('只限管理员和所有圈主发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_yuyin]" value="4" {if $data['quantie_yuyin'] ==4}checked{/if} /> {dr_lang('只限管理员和圈子定义帖子发布')} <span></span></label>
										
									</div>
						        </div>
						    </div>
						</div>
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">【视频】发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_shipin]" value="0" {if $data['quantie_shipin']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_shipin]" value="1" {if $data['quantie_shipin'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_shipin]" value="2" {if $data['quantie_shipin'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_shipin]" value="3" {if $data['quantie_shipin'] ==3}checked{/if} /> {dr_lang('只限管理员和所有圈主发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_shipin]" value="4" {if $data['quantie_shipin'] ==4}checked{/if} /> {dr_lang('只限管理员和圈子定义帖子发布')} <span></span></label>
										
									</div>
						        </div>
						    </div>
						</div>
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">【MP3】发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_mpsan]" value="0" {if $data['quantie_mpsan']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_mpsan]" value="1" {if $data['quantie_mpsan'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_mpsan]" value="2" {if $data['quantie_mpsan'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_mpsan]" value="3" {if $data['quantie_mpsan'] ==3}checked{/if} /> {dr_lang('只限管理员和所有圈主发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_mpsan]" value="4" {if $data['quantie_mpsan'] ==4}checked{/if} /> {dr_lang('只限管理员和圈子定义帖子发布')} <span></span></label>
										
									</div>
						        </div>
						    </div>
						</div>
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">【投票】发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_toupiao]" value="0" {if $data['quantie_toupiao']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_toupiao]" value="1" {if $data['quantie_toupiao'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_toupiao]" value="2" {if $data['quantie_toupiao'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_toupiao]" value="3" {if $data['quantie_toupiao'] ==3}checked{/if} /> {dr_lang('只限管理员和所有圈主发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_toupiao]" value="4" {if $data['quantie_toupiao'] ==4}checked{/if} /> {dr_lang('只限管理员和圈子定义帖子发布')} <span></span></label>
										
									</div>
						        </div>
						    </div>
						</div>
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">【付费】发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_fufei]" value="0" {if $data['quantie_fufei']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_fufei]" value="1" {if $data['quantie_fufei'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_fufei]" value="2" {if $data['quantie_fufei'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_fufei]" value="3" {if $data['quantie_fufei'] ==3}checked{/if} /> {dr_lang('只限管理员和所有圈主发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_fufei]" value="4" {if $data['quantie_fufei'] ==4}checked{/if} /> {dr_lang('只限管理员和圈子定义帖子发布')} <span></span></label>
									</div>
						        </div>
						    </div>
						</div>
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">【问答】发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_wenda]" value="0" {if $data['quantie_wenda']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_wenda]" value="1" {if $data['quantie_wenda'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_wenda]" value="2" {if $data['quantie_wenda'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_wenda]" value="3" {if $data['quantie_wenda'] ==3}checked{/if} /> {dr_lang('只限管理员和所有圈主发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_wenda]" value="4" {if $data['quantie_wenda'] ==4}checked{/if} /> {dr_lang('只限管理员和圈子定义帖子发布')} <span></span></label>
									</div>
						        </div>
						    </div>
						</div>
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">【商品】发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_shangpin]" value="0" {if $data['quantie_shangpin']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_shangpin]" value="1" {if $data['quantie_shangpin'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_shangpin]" value="2" {if $data['quantie_shangpin'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_shangpin]" value="3" {if $data['quantie_shangpin'] ==3}checked{/if} /> {dr_lang('只限管理员和所有圈主发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_shangpin]" value="4" {if $data['quantie_shangpin'] ==4}checked{/if} /> {dr_lang('只限管理员和圈子定义帖子发布')} <span></span></label>
										
									</div>
						        </div>
						    </div>
						</div>
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">【比赛】发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_bisai]" value="0" {if $data['quantie_bisai']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_bisai]" value="1" {if $data['quantie_bisai'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_bisai]" value="2" {if $data['quantie_bisai'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_bisai]" value="3" {if $data['quantie_bisai'] ==3}checked{/if} /> {dr_lang('只限管理员和所有圈主发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_bisai]" value="4" {if $data['quantie_bisai'] ==4}checked{/if} /> {dr_lang('只限管理员和圈子定义帖子发布')} <span></span></label>
										
									</div>
						        </div>
						    </div>
						</div>
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">【下载】发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_xiazai]" value="0" {if $data['quantie_xiazai']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_xiazai]" value="1" {if $data['quantie_xiazai'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_xiazai]" value="2" {if $data['quantie_xiazai'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_xiazai]" value="3" {if $data['quantie_xiazai'] ==3}checked{/if} /> {dr_lang('只限管理员和所有圈主发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_xiazai]" value="4" {if $data['quantie_xiazai'] ==4}checked{/if} /> {dr_lang('只限管理员和圈子定义帖子发布')} <span></span></label>
										
									</div>
						        </div>
						    </div>
						</div>
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">【PK】发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_pk]" value="0" {if $data['quantie_pk']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_pk]" value="1" {if $data['quantie_pk'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_pk]" value="2" {if $data['quantie_pk'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_pk]" value="3" {if $data['quantie_pk'] ==3}checked{/if} /> {dr_lang('只限管理员和所有圈主发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_pk]" value="4" {if $data['quantie_pk'] ==4}checked{/if} /> {dr_lang('只限管理员和圈子定义帖子发布')} <span></span></label>
										
									</div>
						        </div>
						    </div>
						</div>
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">【活动】发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_huodong]" value="0" {if $data['quantie_huodong']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_huodong]" value="1" {if $data['quantie_huodong'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_huodong]" value="2" {if $data['quantie_huodong'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_huodong]" value="3" {if $data['quantie_huodong'] ==3}checked{/if} /> {dr_lang('只限管理员和所有圈主发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_huodong]" value="4" {if $data['quantie_huodong'] ==4}checked{/if} /> {dr_lang('只限管理员和圈子定义帖子发布')} <span></span></label>
										
									</div>
						        </div>
						    </div>
						</div>
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">【出租】发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_chuzu]" value="0" {if $data['quantie_chuzu']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_chuzu]" value="1" {if $data['quantie_chuzu'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_chuzu]" value="2" {if $data['quantie_chuzu'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_chuzu]" value="3" {if $data['quantie_chuzu'] ==3}checked{/if} /> {dr_lang('只限管理员和所有圈主发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_chuzu]" value="4" {if $data['quantie_chuzu'] ==4}checked{/if} /> {dr_lang('只限管理员和圈子定义帖子发布')} <span></span></label>
										
									</div>
						        </div>
						    </div>
						</div>
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">【求租】发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_qiuzu]" value="0" {if $data['quantie_qiuzu']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_qiuzu]" value="1" {if $data['quantie_qiuzu'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_qiuzu]" value="2" {if $data['quantie_qiuzu'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_qiuzu]" value="3" {if $data['quantie_qiuzu'] ==3}checked{/if} /> {dr_lang('只限管理员和所有圈主发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_qiuzu]" value="4" {if $data['quantie_qiuzu'] ==4}checked{/if} /> {dr_lang('只限管理员和圈子定义帖子发布')} <span></span></label>
										
									</div>
						        </div>
						    </div>
						</div>
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">【招聘】发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_zhaopin]" value="0" {if $data['quantie_zhaopin']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_zhaopin]" value="1" {if $data['quantie_zhaopin'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_zhaopin]" value="2" {if $data['quantie_zhaopin'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_zhaopin]" value="3" {if $data['quantie_zhaopin'] ==3}checked{/if} /> {dr_lang('只限管理员和所有圈主发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_zhaopin]" value="4" {if $data['quantie_zhaopin'] ==4}checked{/if} /> {dr_lang('只限管理员和圈子定义帖子发布')} <span></span></label>
										
									</div>
						        </div>
						    </div>
						</div>
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">【求职】发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_qiuzhi]" value="0" {if $data['quantie_qiuzhi']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_qiuzhi]" value="1" {if $data['quantie_qiuzhi'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_qiuzhi]" value="2" {if $data['quantie_qiuzhi'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_qiuzhi]" value="3" {if $data['quantie_qiuzhi'] ==3}checked{/if} /> {dr_lang('只限管理员和所有圈主发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_qiuzhi]" value="4" {if $data['quantie_qiuzhi'] ==4}checked{/if} /> {dr_lang('只限管理员和圈子定义帖子发布')} <span></span></label>
										
									</div>
						        </div>
						    </div>
						</div>
						{if dr_is_app('caiji')}
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">【采集】发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_caiji]" value="0" {if $data['quantie_caiji']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_caiji]" value="1" {if $data['quantie_caiji'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_caiji]" value="2" {if $data['quantie_caiji'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_caiji]" value="3" {if $data['quantie_caiji'] ==3}checked{/if} /> {dr_lang('只限管理员和所有圈主发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_caiji]" value="4" {if $data['quantie_caiji'] ==4}checked{/if} /> {dr_lang('只限管理员和圈子定义帖子发布')} <span></span></label>
										
									</div>
						        </div>
						    </div>
						</div>
						{/if}
						{if dr_is_app('chuangyejin')}
						{php $data = \Phpcmf\Service::M()->table('1_quan_form_chuangyejin_shezhi')->where('dirname', 'chuangyejin')->getRow();}
						{php $data['setting'] = dr_string2array($data['setting']);}
						{php $mingcheng = $data['setting']['pages']['chuangyejin_name'];}
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">【{$mingcheng}】发布开关</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_chuangyejin]" value="0" {if $data['quantie_chuangyejin']==0}checked{/if} /> {dr_lang('全站开启')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_chuangyejin]" value="1" {if $data['quantie_chuangyejin'] ==1}checked{/if} /> {dr_lang('全站关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_chuangyejin]" value="2" {if $data['quantie_chuangyejin'] ==2}checked{/if} /> {dr_lang('只限管理员发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_chuangyejin]" value="3" {if $data['quantie_chuangyejin'] ==3}checked{/if} /> {dr_lang('只限管理员和所有圈主发布')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[quantie_chuangyejin]" value="4" {if $data['quantie_chuangyejin'] ==4}checked{/if} /> {dr_lang('只限管理员和圈子定义帖子发布')} <span></span></label>
										
									</div>
						        </div>
						    </div>
						</div>
						{/if}

			
		            </div>
		        </div>
		    </div>
		</div>
	</div>
	<div>
	    <div class="portlet-body form myfooter">
	        <div class="form-actions text-center">
	            <button type="button" onclick="dr_ajax_submit('{dr_now_url()}', 'myform', '2000')" class="btn green"> <i class="fa fa-save"></i> {dr_lang('保存')}</button>
	        </div>
	    </div>
	</div>
</form>



{template "footer.html"}